package com.whut.mapper;

import com.whut.model.ProjectBuild;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProjectBuildMapper {

    ProjectBuild findById(Integer id);

    List<ProjectBuild> findByIds(List<Integer> ids);

    List<ProjectBuild> findByProjectId(Integer projectId);

    ProjectBuild findByProjectAndBuild(@Param("projectId") Integer projectId, @Param("build") String build);

    int save(ProjectBuild build);

    int modifyById(ProjectBuild build);

    int deleteById(Integer id);

}
